package com.wt.ecommerce;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther: wtt
 * @Date: 2022/4/28 00:30
 * @Description:
 */
@ServletComponentScan
@EnableCircuitBreaker
@EnableFeignClients
@RefreshScope
@EnableDiscoveryClient
@SpringCloudApplication
public class NacosClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(NacosClientApplication.class, args);
    }
}
